//
//  UserContext.h
//  YiJuZhangShou2.0
//
//  Created by 冷悦 on 16/4/6.
//  Copyright © 2016年 Mr.X. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface UserContext : NSObject

/**
 *  用户账号
 */
@property (nonatomic, copy) NSString *userName;

/**
 * 环信ID
 */
@property (nonatomic, copy) NSString *hxAccount;
/**
 *  头像地址
 */
@property (nonatomic, copy) NSString *avatar;

/**
 *  用户昵称
 */
@property (nonatomic, copy) NSString *nickName;

/**
 *  上次登录时间
 */
@property (nonatomic, assign) long long lastLoginTime;

/**
 *  用户生日
 */
@property (nonatomic, assign) long long birthday;

/**
 *  用户个性签名
 */
@property (nonatomic, copy) NSString *sign;

/**
 *  真实姓名
 */
@property (nonatomic, copy) NSString *realName;

/**
 *  身份证
 */
@property (nonatomic, copy) NSString *identityCard;

/**
 *  学历
 */
@property (nonatomic, copy) NSString *academicBackground;

/*
 *  家庭人口
 */
@property (nonatomic, copy) NSString *familySize;

/**
 *  用户性别
 */
@property (nonatomic, assign) NSUInteger sex;

/**
 *  住房状态
 */
@property (nonatomic, copy) NSString *houseState;

/**
 *  购车状态
 */
@property (nonatomic, assign) NSUInteger carState;

/**
 *  qq号
 */
@property (nonatomic, copy) NSString *qq;

/**
 *  邮箱
 */
@property (nonatomic, copy) NSString *email;

/**
 *  现居地址/家庭地址
 */
@property (nonatomic, copy) NSString *houseAddress;

/**
 *  个人电话
 */
@property (nonatomic, copy) NSString *phoneNumber;

/**
 *  家庭电话
 */
@property (nonatomic, copy) NSString *familyPhone;

/**
 *  职业
 */
@property (nonatomic, copy) NSString *profession;

/**
 *  年收入
 */
@property (nonatomic, copy) NSString *yearIncome;

/**
 *  工作地址
 */
@property (nonatomic, copy) NSString *workAddress;

/**
 *  公司名称
 */
@property (nonatomic, copy) NSString *companyName;

/**
 *  公司电话
 */
@property (nonatomic, copy) NSString *companyPhone;
/**
 *  婚姻状况
 */
@property (nonatomic, assign) NSInteger isMarry;

+ (instancetype)sharedInstance;

- (void)updateUserInfomation;

- (void)loadUserFromServer;

@end
